<?php
class app
{
	public $G;
	public function __construct(&$G){
		$this->G = $G;
		$this->routes = $this->G->loadclass('routes');
		$this->dbpdo = $this->G->loadclass('dbpdo');
		$this->tpl = $this->G->loadclass('tpl');
		$this->errorpage = $this->G->loadclass('errorpage','errorpage');
	}
}
?>